package com.woniuxy.sale.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 选货单项表;
 * </p>
 *
 * @author lio
 * @since 2023-09-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//@Accessors(chain=true)
public class SaleOrderItem implements Serializable {

    /**
     * id
     */
    @ExcelIgnore
    private Integer id;

    /**
     * 选货总表id
     */
    @ExcelIgnore
    private Integer sid;

    /**
     * 商品编号
     */
    @Excel(name = "产品编号", width = 20,height = 8)
    private String goodsNumber;

    /**
     * 商品名
     */
    @Excel(name = "产品名称", width = 20,height = 8)
    private String goodsName;

    /**
     * 物料
     */
    @Excel(name = "物料", width = 20,height = 8)
    private String meteriType;

    /**
     * 品类
     */
    @Excel(name = "品类", width = 20,height = 8)
    private String categoryType;

    /**
     * 成色
     */
    @Excel(name = "成色", width = 20,height = 8)
    private String purity;

    /**
     * 重量
     */
    @Excel(name = "重量", width = 20,height = 8)
    private BigDecimal weight;

    /**
     * 数量
     */
    @Excel(name = "数量", width = 20,height = 8)
    private Integer count;

    /**
     * 单价
     */
    @Excel(name = "单价", width = 20,height = 8)
    private BigDecimal unitPrice;

    /**
     * 状态(0充足,1已填写需求单)
     */
    @ExcelIgnore
    private String states;

    /**
     * 5
     */
    @ExcelIgnore
    private Integer abc;


}
